package com.symc.sims0213xfw.dao;

import com.symc.sims0213xfw.bean.Department;

import java.util.List;

/**
 * @Author: 凤文  沈阳医学院2019级医学信息工程 0213
 * @CreateTime: 2022/01/25 12:51
 * @Description:
 */
public interface DepartmentDao {
    public List<Department> queryListVisibleDepartment();

    public Department queryVisibleDepartment(Integer cid);

    public Department queryDepartment(Integer cid);

    public List<Department> queryDepartmentByCollegeName(String collegeName);

    public int addDepartment(Integer id,String name,Integer cid);

    public int updateDepartment(Integer id,String name,Integer cid);

    public int deleteVisibleDepartment(Integer id);

}
